import csv
from functools import reduce

with open("data.csv", mode="r", encoding="utf-8") as f:
    cf = csv.reader(f)
    header = next(cf)  # next读取一行 cf会消失一行
    scores = []
    for i in cf:
        scores.append(int(i[2]))
    result = reduce(lambda x, y: x + y, scores)
    print(result)